﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Users
/// </summary>
public class Users
{
    private string username;
    private string password;
    private string email;
    private DateTime createTime;
    private bool active;
    private Roles role;

    public Users()
    {
        //
        // TODO: Add constructor logic here
        //
    }

    public Users(string username, string password, string email, DateTime createTime, bool active, Roles role)
    {
        this.username = username;
        this.password = password;
        this.email = email;
        this.createTime = createTime;
        this.active = active;
        this.role = role;

    }

    public string Username
    {
        get { return username; }
        set { username = value; }
    }
    
    public string Password
    {
        get { return password; }
        set { password = value; }
    }

    public string Email
    {
        get { return email; }
        set { email = value; }
    }

    public DateTime CreateTime
    {
        get { return createTime; }
        set { createTime = value; }
    }

    public bool Active
    {
        get { return active; }
        set { active = value; }
    }

    public Roles Role
    {
        get { return role; }
        set { role = value; }
    }
}